package bean.factory.postprocessor.placeholder;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/3/25 11:07 下午
 * @Version 1.0
 * @Description
 * TODO 见 {@link org.springframework.beans.factory.config.PlaceholderConfigurerSupport}。
 *      只有在配置文件有	<context:property-placeholder location=""></context:property-placeholder>
 *      时，Spring才会加载PlaceholderConfigurerSupport类来帮助解析。
 */
public class PlaceholderConfigurerSupportTest {
	private String driverClass;
	private String jdbcUrl;
	private String user;
	private String password;

	public String getDriverClass() {
		return driverClass;
	}

	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}

	public String getJdbcUrl() {
		return jdbcUrl;
	}

	public void setJdbcUrl(String jdbcUrl) {
		this.jdbcUrl = jdbcUrl;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "ComboPooledDataSource{" +
				"driverClass='" + driverClass + '\'' +
				", jdbcUrl='" + jdbcUrl + '\'' +
				", user='" + user + '\'' +
				", password='" + password + '\'' +
				'}';
	}
}
